package com.accounting.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Currency entity. @author MyEclipse Persistence Tools
 */

public class Currency implements java.io.Serializable {

	// Fields

	private String currCode;
	private Admin admin;
	private String name;
	private Double exchangeRate;
	private String isStdMon;
	private Set voucherRecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public Currency() {
	}

	/** minimal constructor */
	public Currency(String currCode, Admin admin, String name,
			Double exchangeRate, String isStdMon) {
		this.currCode = currCode;
		this.admin = admin;
		this.name = name;
		this.exchangeRate = exchangeRate;
		this.isStdMon = isStdMon;
	}

	/** full constructor */
	public Currency(String currCode, Admin admin, String name,
			Double exchangeRate, String isStdMon, Set voucherRecords) {
		this.currCode = currCode;
		this.admin = admin;
		this.name = name;
		this.exchangeRate = exchangeRate;
		this.isStdMon = isStdMon;
		this.voucherRecords = voucherRecords;
	}

	// Property accessors

	public String getCurrCode() {
		return this.currCode;
	}

	public void setCurrCode(String currCode) {
		this.currCode = currCode;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getExchangeRate() {
		return this.exchangeRate;
	}

	public void setExchangeRate(Double exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public String getIsStdMon() {
		return this.isStdMon;
	}

	public void setIsStdMon(String isStdMon) {
		this.isStdMon = isStdMon;
	}

	public Set getVoucherRecords() {
		return this.voucherRecords;
	}

	public void setVoucherRecords(Set voucherRecords) {
		this.voucherRecords = voucherRecords;
	}

}